package com.tuanbiao.controllers;

import com.amap.api.maps.model.LatLng;
import com.hzjq.data.entity.BlastLonLat;
import com.hzjq.data.entity.PmEntity;
import com.tuanbiao.base.mvp.IModel;
import com.tuanbiao.base.mvp.IPresenter;
import com.tuanbiao.base.mvp.IView;
import com.tuanbiao.models.action.LocationAction;
import com.tuanbiao.models.action.ProjectAction;

/**
 * @author abiao
 * @since 2022/4/24 11:17
 */
public interface LocationController {
    interface Model extends IModel, LocationAction, ProjectAction {

    }

    interface View extends IView {

        void showLonLat(BlastLonLat blastLonLat);

        void showProjectDetails(PmEntity project);
    }

    interface Presenter extends IPresenter {
        float calculateLineDistance(LatLng point1, LatLng point2);

        void saveCurrentLocation();
    }
}
